package com.zzy.ecommerce.service;

import com.zzy.ecommerce.domain.Earn;
import com.zzy.ecommerce.domain.TEarn;
import com.zzy.ecommerce.domain.TUser;

import java.util.List;

public interface EarnService {
    Integer insertOneEarn(TEarn tEarn);
    List<Earn> selectAllEarn();
    Integer deleteOneEarn(Integer id);
    Integer deleteAllEarn();
}
